﻿// -----------------------------------------------------------------------
// <copyright file="NoTransition.cs" company="Microsoft">
// TODO: Update copyright text.
// </copyright>
// -----------------------------------------------------------------------

namespace Rosieks.Web.Flow.Metadata
{
    /// <summary>
    /// TODO: Update summary.
    /// </summary>
    internal class NoTransition : Transition
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="T:NoTransition"/> class.
        /// </summary>
        public NoTransition(State to)
        {
            this.To = to;
        }

        public override bool PushOnStack()
        {
            return false;
        }
    }
}
